package com.qb.service;

import com.qb.pojo.Btype;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BtypeService {
    //全查
    List<Btype> findAll();

    List<Btype> findSubTypeByTid(Integer typeid);

    //ID查询
    Btype findById(Integer typeid);

    //修改
    boolean updateType(Btype btype);

    //删除大类  复用 小类
    boolean deleteSubTypeBtn(Integer typeid) throws Exception;

    void save(Btype btype);
}
